package com.wn.icloud.auth;

import com.wn.icloud.EnableProviderConfig;
import lombok.extern.slf4j.Slf4j;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Created by leeyang on 2017/6/2.
 */
@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients("com.wn.icloud.provider")
@EnableSwagger2Doc
@MapperScan("com.wn.icloud.auth.mapper")
@EnableProviderConfig
public class AuthServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthServerApplication.class, args);
    }
}
